package com.cvic.se.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Select;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cvic.se.entity.Institution;

/**
 * <p>
 * InnoDB free: 4096 kB Mapper 接口
 * </p>
 *
 * @author zgx
 * @since 2021-07-21
 */
public interface InstitutionMapper extends BaseMapper<Institution> {

	//@Select("select a.INST_ID max_code from institution a order by max_code desc")
	@Select("select Max(a.INST_ID) max_code from institution a")
	public List<Map<String,Object>> getMax();
	
}
